<template >
  <img class="logo" src="../assets/img/maomi.svg" alt="" @click="imgClick">
</template>

<script>
export default {
  name: "BackToHomeLogo",
  methods: {
    imgClick() {
      const { href } = this.$router.resolve({
        path: '/',
      });
      window.open(href,'_self')
    }
  }
}
</script>

<style>
.logo:hover {
  cursor: pointer;
}
</style>